package com.huping.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello(){
        System.out.println("Hello World~");
        return "Hello World alibaba ";
    }

    @RequestMapping("/simpleRequest")
    public String simpleParam(String name,int age){
        System.out.println(name+":"+age);
        return "[{data:OK}]";
    }


}
